﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Modules.ShippingAddressEdit"
    CodeBehind="ShippingAddressEdit.ascx.cs" %>

<%@ Register TagPrefix="nopCommerce" TagName="CaptionTextBox" Src="~/Modules/CaptionTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="PhoneTextBox" Src="~/Modules/PhoneTextBox.ascx" %>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td colspan="2"><strong>Все поля обязательны для заполнения</strong></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtFirstName" Caption="Получатель" 
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать получателя" 
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
          </nopCommerce:CaptionTextBox>
          <asp:Label ID="lblShippingAddressId" runat="server" Visible="false"></asp:Label>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtPhoneNumber" Caption="Контактный телефон"  
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать телефон" IsPhone="True"  
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtCity" Caption="Город / регион"  
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать город"  
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtAddress1" Caption="Полный адрес с указанием почтового индекса" TextMode="MultiLine"
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать адрес" 
              CssEditClass="reg_textbox_multi" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
</table>
